
export interface MetaDataDomain {
    id?: number;
    identifier: string;
    name: string;
    title: string;
    icon?: string;
    comment?: string;
    options?: string;
    description?: string;
}

export interface MetaDataObject {
    id?: number;
    domain_identifier: string;
    identifier: string;
    name: string;
    title: string;
    icon?: string;
    dataIsType?: boolean;
    comment?: string;
    options?: string;
    description?: string;
}

export interface MetaDataRelation {
    id?: number;
    domain_identifier: string;
    identifier: string;
    name: string;
    title: string;
    icon?: string;
    relationType: string;
    isGeneralization?: boolean;
    comment?: string;
    options?: string;
    description?: string;
}


export interface MetaDataTrait {
    id?: number;
    domain_identifier: string;
    identifier: string;
    name: string;
    title: string;
    icon?: string;
    traitType: string;
    path: string;
    comment?: string;
    options?: string;
    description?: string;
}

export interface MetaDataObjectProperty {
    id?: number;
    class_identifier: string;
    identifier: string;
    name: string;
    title: string;
    is_key?: boolean;
    persistent?: boolean;
    data_type?: string;
    collection_type?: string;
    is_number?: boolean;
    is_autoincrement?: boolean;
    value_size?: boolean;
    unit?: string;
    default_value?: string;
    is_nullable?: boolean;
    position?: number;
    scope?: string;
    comment?: string;
    options?: string;
    description?: string;
}

export interface MetaDataObjectRelation {
    id?: number;
    srcObjectName?: string;
    srcObjectIcon?: string;
    targetObjectName?: string;
    targetObjectIcon?: string;
    relationIdentifier: string;
    srcIdentifier: string;
    targetIdentifier: string;
    srcCount: number;
    targetCount: number;
    relationProperties: string;
    comment?: string;
    options?: string;
    description?: string;
}

export interface MetaDataObjectTrait {
    id?: number;
    objectIdentifier: string;
    identifier: string;
    name: string;
    icon?: string;
    traitType: string;
    path: string;
    comment?: string;
    options?: string;
    description?: string;
}